#define _CRT_SECURE_NO_WARNINGS 1
#include <iostream>
#include<string>
using namespace std;
int main2() {
	int year;
	bool isLeapYear;
	char judge[10] = " ", _not[10] = " not ";
	cout << "Enter the year: ";
	cin >> year;
	isLeapYear = ((year % 4 == 0 && year % 100 != 0) || (year % 400 == 0));
	if (!isLeapYear)
		strcpy(judge, _not);
	cout << year << " is" << judge << "a leap year" << endl;

	/*    cout << year << " is not a leap year" << endl;*/
	return 0;
}

